<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::KernelExpansion&lt; InputType &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_kernel_expansion.html">KernelExpansion</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_kernel_expansion-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::KernelExpansion&lt; InputType &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__models.html">Models</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Linear model in a kernel feature space.  
 <a href="classshark_1_1_kernel_expansion.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_kernel_expansion_8h_source.html">shark/Models/Kernels/KernelExpansion.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::KernelExpansion&lt; InputType &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_kernel_expansion__inherit__graph.png" border="0" usemap="#ashark_1_1_kernel_expansion_3_01_input_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_kernel_expansion_3_01_input_type_01_4_inherit__map" id="ashark_1_1_kernel_expansion_3_01_input_type_01_4_inherit__map">
<area shape="rect" title="Linear model in a kernel feature space." alt="" coords="23,94,182,135"/>
<area shape="rect" href="classshark_1_1_missing_features_kernel_expansion.html" title="Kernel expansion with missing features support For a choice of kernel, see Kernels." alt="" coords="5,183,200,223"/>
<area shape="poly" title=" " alt="" coords="105,150,105,182,100,182,100,150"/>
<area shape="rect" href="classshark_1_1_abstract_model.html" title=" " alt="" coords="15,5,190,46"/>
<area shape="poly" title=" " alt="" coords="105,62,105,94,100,94,100,62"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac5836d98d072c8ea288209ca3fa2f1c9" id="r_ac5836d98d072c8ea288209ca3fa2f1c9"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_kernel_function.html">AbstractKernelFunction</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a></td></tr>
<tr class="separator:ac5836d98d072c8ea288209ca3fa2f1c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a651c84963d3935af5324530e1722830b" id="r_a651c84963d3935af5324530e1722830b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">base_type::BatchInputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a651c84963d3935af5324530e1722830b">BatchInputType</a></td></tr>
<tr class="separator:a651c84963d3935af5324530e1722830b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d47bea3d1bb6b1c5044c9208f1dfd09" id="r_a3d47bea3d1bb6b1c5044c9208f1dfd09"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">base_type::BatchOutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a3d47bea3d1bb6b1c5044c9208f1dfd09">BatchOutputType</a></td></tr>
<tr class="separator:a3d47bea3d1bb6b1c5044c9208f1dfd09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; InputType, RealVector &gt;</a></td></tr>
<tr class="memitem:a76a2d024b6013037b072596fe4f9f829 inherit pub_types_classshark_1_1_abstract_model" id="r_a76a2d024b6013037b072596fe4f9f829"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> </td></tr>
<tr class="separator:a76a2d024b6013037b072596fe4f9f829 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model" id="r_a714e85d7a6cd2b68898cb5dbb25c37d4"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a></td></tr>
<tr class="memdesc:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the input type of the model.  <br /></td></tr>
<tr class="separator:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model" id="r_a8e5acf043e3a76b50d15a852365801b4"><td class="memItemLeft" align="right" valign="top">typedef RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a></td></tr>
<tr class="memdesc:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the output type of the model.  <br /></td></tr>
<tr class="separator:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model" id="r_a7fccb0cdf4c0b47afbe5da03532b9b4e"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html">AbstractModel</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, RealVector, RealVector &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a7fccb0cdf4c0b47afbe5da03532b9b4e">ModelBaseType</a></td></tr>
<tr class="memdesc:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the BaseType used by the model (this type). Useful for creating derived models.  <br /></td></tr>
<tr class="separator:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model" id="r_a518304e95092673b7b6438cace052ef6"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a></td></tr>
<tr class="memdesc:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">defines the batch type of the input type.  <br /></td></tr>
<tr class="separator:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model" id="r_aa0c72e230b9a1324c95ba8ac0b07ba13"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a></td></tr>
<tr class="memdesc:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">defines the batch type of the output type  <br /></td></tr>
<tr class="separator:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6b242b73aadc63380181fdf4da1db84 inherit pub_types_classshark_1_1_abstract_model" id="r_aa6b242b73aadc63380181fdf4da1db84"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a></td></tr>
<tr class="separator:aa6b242b73aadc63380181fdf4da1db84 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48785f538572a695c46b9eec7a4a00f3 inherit pub_types_classshark_1_1_abstract_model" id="r_a48785f538572a695c46b9eec7a4a00f3"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a48785f538572a695c46b9eec7a4a00f3">FeatureNotAvailableException</a></td></tr>
<tr class="separator:a48785f538572a695c46b9eec7a4a00f3 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable" id="r_a2ad5e2e60b2b352988b41f46024d790b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a></td></tr>
<tr class="separator:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abd97e2ccc82763bbea0c884c5f5bce88" id="r_abd97e2ccc82763bbea0c884c5f5bce88"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#abd97e2ccc82763bbea0c884c5f5bce88">KernelExpansion</a> ()</td></tr>
<tr class="separator:abd97e2ccc82763bbea0c884c5f5bce88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0279e9ce4677fd9fc4da82711a85a9d1" id="r_a0279e9ce4677fd9fc4da82711a85a9d1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a0279e9ce4677fd9fc4da82711a85a9d1">KernelExpansion</a> (<a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a> *<a class="el" href="classshark_1_1_kernel_expansion.html#aa7f672e5b1a367ce00545f550596bb0c">kernel</a>)</td></tr>
<tr class="separator:a0279e9ce4677fd9fc4da82711a85a9d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76b322fd10b132fac5afc80405301e64" id="r_a76b322fd10b132fac5afc80405301e64"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a76b322fd10b132fac5afc80405301e64">KernelExpansion</a> (<a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a> *<a class="el" href="classshark_1_1_kernel_expansion.html#aa7f672e5b1a367ce00545f550596bb0c">kernel</a>, <a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; const &amp;<a class="el" href="classshark_1_1_kernel_expansion.html#a48c4d31664d347f477cfb305a7b98d61">basis</a>, bool <a class="el" href="classshark_1_1_kernel_expansion.html#a1c89cb50933ee211d67af90e6366e0ee">offset</a>, std::size_t outputs=1)</td></tr>
<tr class="separator:a76b322fd10b132fac5afc80405301e64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38c97766f52bf00e5b0120c46c15f37f" id="r_a38c97766f52bf00e5b0120c46c15f37f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a38c97766f52bf00e5b0120c46c15f37f">setStructure</a> (<a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a> *<a class="el" href="classshark_1_1_kernel_expansion.html#aa7f672e5b1a367ce00545f550596bb0c">kernel</a>, <a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; const &amp;<a class="el" href="classshark_1_1_kernel_expansion.html#a48c4d31664d347f477cfb305a7b98d61">basis</a>, bool <a class="el" href="classshark_1_1_kernel_expansion.html#a1c89cb50933ee211d67af90e6366e0ee">offset</a>, std::size_t outputs=1)</td></tr>
<tr class="separator:a38c97766f52bf00e5b0120c46c15f37f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7cf9023daedf1951882dcf76956cbff" id="r_ac7cf9023daedf1951882dcf76956cbff"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#ac7cf9023daedf1951882dcf76956cbff">name</a> () const</td></tr>
<tr class="memdesc:ac7cf9023daedf1951882dcf76956cbff"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name.  <br /></td></tr>
<tr class="separator:ac7cf9023daedf1951882dcf76956cbff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a251b1a2dec182d8433b8010fc2df0787" id="r_a251b1a2dec182d8433b8010fc2df0787"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a251b1a2dec182d8433b8010fc2df0787">outputShape</a> () const</td></tr>
<tr class="memdesc:a251b1a2dec182d8433b8010fc2df0787"><td class="mdescLeft">&#160;</td><td class="mdescRight">dimensionality of the output RealVector  <br /></td></tr>
<tr class="separator:a251b1a2dec182d8433b8010fc2df0787"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafda4afa8142b463e1b316d8bd4e342f" id="r_aafda4afa8142b463e1b316d8bd4e342f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#aafda4afa8142b463e1b316d8bd4e342f">inputShape</a> () const</td></tr>
<tr class="memdesc:aafda4afa8142b463e1b316d8bd4e342f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the expected shape of the input.  <br /></td></tr>
<tr class="separator:aafda4afa8142b463e1b316d8bd4e342f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7f672e5b1a367ce00545f550596bb0c" id="r_aa7f672e5b1a367ce00545f550596bb0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a> const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#aa7f672e5b1a367ce00545f550596bb0c">kernel</a> () const</td></tr>
<tr class="separator:aa7f672e5b1a367ce00545f550596bb0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a082027bb23accf964937433638e57281" id="r_a082027bb23accf964937433638e57281"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a082027bb23accf964937433638e57281">kernel</a> ()</td></tr>
<tr class="separator:a082027bb23accf964937433638e57281"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3050c994b3b804dc52e3cac195d927c" id="r_aa3050c994b3b804dc52e3cac195d927c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#aa3050c994b3b804dc52e3cac195d927c">setKernel</a> (<a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a> *<a class="el" href="classshark_1_1_kernel_expansion.html#aa7f672e5b1a367ce00545f550596bb0c">kernel</a>)</td></tr>
<tr class="separator:aa3050c994b3b804dc52e3cac195d927c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb02d63dd18cb3ba534d1393c092752f" id="r_afb02d63dd18cb3ba534d1393c092752f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#afb02d63dd18cb3ba534d1393c092752f">hasOffset</a> () const</td></tr>
<tr class="separator:afb02d63dd18cb3ba534d1393c092752f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c65dfd17f38eaa461f6400d302fae48" id="r_a3c65dfd17f38eaa461f6400d302fae48"><td class="memItemLeft" align="right" valign="top">RealMatrix &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a3c65dfd17f38eaa461f6400d302fae48">alpha</a> ()</td></tr>
<tr class="separator:a3c65dfd17f38eaa461f6400d302fae48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96b806bd045ac5cae655399d487c9666" id="r_a96b806bd045ac5cae655399d487c9666"><td class="memItemLeft" align="right" valign="top">RealMatrix const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a96b806bd045ac5cae655399d487c9666">alpha</a> () const</td></tr>
<tr class="separator:a96b806bd045ac5cae655399d487c9666"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86269e46881882b7d56f0de924cb9dbe" id="r_a86269e46881882b7d56f0de924cb9dbe"><td class="memItemLeft" align="right" valign="top">double &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a86269e46881882b7d56f0de924cb9dbe">alpha</a> (std::size_t example, std::size_t cls)</td></tr>
<tr class="separator:a86269e46881882b7d56f0de924cb9dbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfe64c8c40cdedf4e011fc0c76957365" id="r_acfe64c8c40cdedf4e011fc0c76957365"><td class="memItemLeft" align="right" valign="top">double const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#acfe64c8c40cdedf4e011fc0c76957365">alpha</a> (std::size_t example, std::size_t cls) const</td></tr>
<tr class="separator:acfe64c8c40cdedf4e011fc0c76957365"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c89cb50933ee211d67af90e6366e0ee" id="r_a1c89cb50933ee211d67af90e6366e0ee"><td class="memItemLeft" align="right" valign="top">RealVector &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a1c89cb50933ee211d67af90e6366e0ee">offset</a> ()</td></tr>
<tr class="separator:a1c89cb50933ee211d67af90e6366e0ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2494359ab8d8be134b2b9adccc458a33" id="r_a2494359ab8d8be134b2b9adccc458a33"><td class="memItemLeft" align="right" valign="top">RealVector const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a2494359ab8d8be134b2b9adccc458a33">offset</a> () const</td></tr>
<tr class="separator:a2494359ab8d8be134b2b9adccc458a33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47023a21733e5230af9d3e5253422721" id="r_a47023a21733e5230af9d3e5253422721"><td class="memItemLeft" align="right" valign="top">double &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a47023a21733e5230af9d3e5253422721">offset</a> (std::size_t cls)</td></tr>
<tr class="separator:a47023a21733e5230af9d3e5253422721"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a514768f8a9709bde70dc9b993892e2e1" id="r_a514768f8a9709bde70dc9b993892e2e1"><td class="memItemLeft" align="right" valign="top">double const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a514768f8a9709bde70dc9b993892e2e1">offset</a> (std::size_t cls) const</td></tr>
<tr class="separator:a514768f8a9709bde70dc9b993892e2e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48c4d31664d347f477cfb305a7b98d61" id="r_a48c4d31664d347f477cfb305a7b98d61"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a48c4d31664d347f477cfb305a7b98d61">basis</a> () const</td></tr>
<tr class="separator:a48c4d31664d347f477cfb305a7b98d61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97db6773c7ab9c69e1c88cb44a83634e" id="r_a97db6773c7ab9c69e1c88cb44a83634e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a97db6773c7ab9c69e1c88cb44a83634e">basis</a> ()</td></tr>
<tr class="separator:a97db6773c7ab9c69e1c88cb44a83634e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a503aaebca6ce5e7d8a6f79e5e039bd9f" id="r_a503aaebca6ce5e7d8a6f79e5e039bd9f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a503aaebca6ce5e7d8a6f79e5e039bd9f">sparsify</a> ()</td></tr>
<tr class="separator:a503aaebca6ce5e7d8a6f79e5e039bd9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b91222bf74774ac83e049f95d03f6c7" id="r_a6b91222bf74774ac83e049f95d03f6c7"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a6b91222bf74774ac83e049f95d03f6c7">parameterVector</a> () const</td></tr>
<tr class="memdesc:a6b91222bf74774ac83e049f95d03f6c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the parameter vector.  <br /></td></tr>
<tr class="separator:a6b91222bf74774ac83e049f95d03f6c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c1c29a9e9251d908d5d35c4f5998725" id="r_a0c1c29a9e9251d908d5d35c4f5998725"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a0c1c29a9e9251d908d5d35c4f5998725">setParameterVector</a> (RealVector const &amp;newParameters)</td></tr>
<tr class="memdesc:a0c1c29a9e9251d908d5d35c4f5998725"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the parameter vector.  <br /></td></tr>
<tr class="separator:a0c1c29a9e9251d908d5d35c4f5998725"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acef45b855141ee8cae89b468c72bcb85" id="r_acef45b855141ee8cae89b468c72bcb85"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#acef45b855141ee8cae89b468c72bcb85">numberOfParameters</a> () const</td></tr>
<tr class="memdesc:acef45b855141ee8cae89b468c72bcb85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of parameters.  <br /></td></tr>
<tr class="separator:acef45b855141ee8cae89b468c72bcb85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4764c8830fd7f7b65e43e3e4210dba1" id="r_ae4764c8830fd7f7b65e43e3e4210dba1"><td class="memItemLeft" align="right" valign="top">boost::shared_ptr&lt; <a class="el" href="structshark_1_1_state.html">State</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#ae4764c8830fd7f7b65e43e3e4210dba1">createState</a> () const</td></tr>
<tr class="memdesc:ae4764c8830fd7f7b65e43e3e4210dba1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an internal state of the model.  <br /></td></tr>
<tr class="separator:ae4764c8830fd7f7b65e43e3e4210dba1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a55c5a7f5e4b7f447f299c1b19050e2" id="r_a9a55c5a7f5e4b7f447f299c1b19050e2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a9a55c5a7f5e4b7f447f299c1b19050e2">eval</a> (<a class="el" href="classshark_1_1_kernel_expansion.html#a651c84963d3935af5324530e1722830b">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_kernel_expansion.html#a3d47bea3d1bb6b1c5044c9208f1dfd09">BatchOutputType</a> &amp;output) const</td></tr>
<tr class="memdesc:a9a55c5a7f5e4b7f447f299c1b19050e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard interface for evaluating the response of the model to a batch of patterns.  <br /></td></tr>
<tr class="separator:a9a55c5a7f5e4b7f447f299c1b19050e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8c82d18e6ac27bae8155c751f552bda" id="r_aa8c82d18e6ac27bae8155c751f552bda"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#aa8c82d18e6ac27bae8155c751f552bda">eval</a> (<a class="el" href="classshark_1_1_kernel_expansion.html#a651c84963d3935af5324530e1722830b">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_kernel_expansion.html#a3d47bea3d1bb6b1c5044c9208f1dfd09">BatchOutputType</a> &amp;outputs, <a class="el" href="structshark_1_1_state.html">State</a> &amp;state) const</td></tr>
<tr class="memdesc:aa8c82d18e6ac27bae8155c751f552bda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard interface for evaluating the response of the model to a batch of patterns.  <br /></td></tr>
<tr class="separator:aa8c82d18e6ac27bae8155c751f552bda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b4d90a82af13e81f0ddb9bbc133a2a8" id="r_a3b4d90a82af13e81f0ddb9bbc133a2a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a3b4d90a82af13e81f0ddb9bbc133a2a8">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive)</td></tr>
<tr class="memdesc:a3b4d90a82af13e81f0ddb9bbc133a2a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, reads a model from an archive.  <br /></td></tr>
<tr class="separator:a3b4d90a82af13e81f0ddb9bbc133a2a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a962e6ea8753f0146c69ff41002c4e413" id="r_a962e6ea8753f0146c69ff41002c4e413"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a962e6ea8753f0146c69ff41002c4e413">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive) const</td></tr>
<tr class="memdesc:a962e6ea8753f0146c69ff41002c4e413"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, writes a model to an archive.  <br /></td></tr>
<tr class="separator:a962e6ea8753f0146c69ff41002c4e413"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; InputType, RealVector &gt;</a></td></tr>
<tr class="memitem:a0b7aeb13b70c8d4cffc4958e6583627c inherit pub_methods_classshark_1_1_abstract_model" id="r_a0b7aeb13b70c8d4cffc4958e6583627c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a0b7aeb13b70c8d4cffc4958e6583627c">AbstractModel</a> ()</td></tr>
<tr class="separator:a0b7aeb13b70c8d4cffc4958e6583627c inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad07313494d4f88c8294410d0c77d80b7 inherit pub_methods_classshark_1_1_abstract_model" id="r_ad07313494d4f88c8294410d0c77d80b7"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ad07313494d4f88c8294410d0c77d80b7">~AbstractModel</a> ()</td></tr>
<tr class="separator:ad07313494d4f88c8294410d0c77d80b7 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a234570c3bc1f1fdf06e67ecc4751fa24 inherit pub_methods_classshark_1_1_abstract_model" id="r_a234570c3bc1f1fdf06e67ecc4751fa24"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a234570c3bc1f1fdf06e67ecc4751fa24">features</a> () const</td></tr>
<tr class="separator:a234570c3bc1f1fdf06e67ecc4751fa24 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8cb877bb0c6b8e713e852f9057a6eae inherit pub_methods_classshark_1_1_abstract_model" id="r_af8cb877bb0c6b8e713e852f9057a6eae"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#af8cb877bb0c6b8e713e852f9057a6eae">updateFeatures</a> ()</td></tr>
<tr class="separator:af8cb877bb0c6b8e713e852f9057a6eae inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model" id="r_ae04810c1ae40f816872eba4ef3953e36"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ae04810c1ae40f816872eba4ef3953e36">hasFirstParameterDerivative</a> () const</td></tr>
<tr class="memdesc:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true when the first parameter derivative is implemented.  <br /></td></tr>
<tr class="separator:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model" id="r_a1092b50b56555e8f2e8b4d4aa57eb3c3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a1092b50b56555e8f2e8b4d4aa57eb3c3">hasFirstInputDerivative</a> () const</td></tr>
<tr class="memdesc:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true when the first input derivative is implemented.  <br /></td></tr>
<tr class="separator:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a331290a6cb2840663d2178899366c8 inherit pub_methods_classshark_1_1_abstract_model" id="r_a3a331290a6cb2840663d2178899366c8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a3a331290a6cb2840663d2178899366c8">eval</a> (<a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> const &amp;pattern, <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &amp;output) const</td></tr>
<tr class="memdesc:a3a331290a6cb2840663d2178899366c8 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard interface for evaluating the response of the model to a single pattern.  <br /></td></tr>
<tr class="separator:a3a331290a6cb2840663d2178899366c8 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model" id="r_a0b69168617355ebbd470caf2393a541f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a0b69168617355ebbd470caf2393a541f">operator()</a> (<a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> &gt; const &amp;patterns) const</td></tr>
<tr class="memdesc:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a whole dataset. This is a convenience function.  <br /></td></tr>
<tr class="separator:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model" id="r_a78b0b0517a53c93013b9372292f73a78"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a78b0b0517a53c93013b9372292f73a78">operator()</a> (<a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> const &amp;pattern) const</td></tr>
<tr class="memdesc:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a single pattern. This is a convenience function.  <br /></td></tr>
<tr class="separator:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model" id="r_aa10f381b3bd678c82a600c5bc6ac0ec3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa10f381b3bd678c82a600c5bc6ac0ec3">operator()</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;patterns) const</td></tr>
<tr class="memdesc:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a single pattern. This is a convenience function.  <br /></td></tr>
<tr class="separator:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad699b6b1f813c5cc3b3ed45f254dbc1d inherit pub_methods_classshark_1_1_abstract_model" id="r_ad699b6b1f813c5cc3b3ed45f254dbc1d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ad699b6b1f813c5cc3b3ed45f254dbc1d">weightedParameterDerivative</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;pattern, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, RealVector &amp;derivative) const</td></tr>
<tr class="memdesc:ad699b6b1f813c5cc3b3ed45f254dbc1d inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculates the weighted sum of derivatives w.r.t the parameters.  <br /></td></tr>
<tr class="separator:ad699b6b1f813c5cc3b3ed45f254dbc1d inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c192dedb474c5a8e39b1f46d99f94cc inherit pub_methods_classshark_1_1_abstract_model" id="r_a3c192dedb474c5a8e39b1f46d99f94cc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a3c192dedb474c5a8e39b1f46d99f94cc">weightedInputDerivative</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;pattern, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> &amp;derivative) const</td></tr>
<tr class="memdesc:a3c192dedb474c5a8e39b1f46d99f94cc inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculates the weighted sum of derivatives w.r.t the inputs  <br /></td></tr>
<tr class="separator:a3c192dedb474c5a8e39b1f46d99f94cc inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model" id="r_adb4966b597013417b5e9957c84485c8c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#adb4966b597013417b5e9957c84485c8c">weightedDerivatives</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, RealVector &amp;parameterDerivative, <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> &amp;inputDerivative) const</td></tr>
<tr class="memdesc:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculates weighted input and parameter derivative at the same time  <br /></td></tr>
<tr class="separator:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable" id="r_a9e3a11172e74d1aa7292f3de4e2b6ebc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a9e3a11172e74d1aa7292f3de4e2b6ebc">~IParameterizable</a> ()</td></tr>
<tr class="separator:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:af9b56d462d08ee86692de5f92e1a61ad" id="r_af9b56d462d08ee86692de5f92e1a61ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#af9b56d462d08ee86692de5f92e1a61ad">mep_kernel</a></td></tr>
<tr class="memdesc:af9b56d462d08ee86692de5f92e1a61ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">kernel function used in the expansion  <br /></td></tr>
<tr class="separator:af9b56d462d08ee86692de5f92e1a61ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c17d9a2d90c6dc919d09431fa4a9bc7" id="r_a3c17d9a2d90c6dc919d09431fa4a9bc7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a3c17d9a2d90c6dc919d09431fa4a9bc7">m_basis</a></td></tr>
<tr class="memdesc:a3c17d9a2d90c6dc919d09431fa4a9bc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">"support" basis vectors  <br /></td></tr>
<tr class="separator:a3c17d9a2d90c6dc919d09431fa4a9bc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a923db4c417f36a23a7c7e5ba496a5265" id="r_a923db4c417f36a23a7c7e5ba496a5265"><td class="memItemLeft" align="right" valign="top">RealMatrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">m_alpha</a></td></tr>
<tr class="memdesc:a923db4c417f36a23a7c7e5ba496a5265"><td class="mdescLeft">&#160;</td><td class="mdescRight">kernel coefficients  <br /></td></tr>
<tr class="separator:a923db4c417f36a23a7c7e5ba496a5265"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9c87c7314a2142b790272324e8793b2" id="r_aa9c87c7314a2142b790272324e8793b2"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_expansion.html#aa9c87c7314a2142b790272324e8793b2">m_b</a></td></tr>
<tr class="memdesc:aa9c87c7314a2142b790272324e8793b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">offset or bias term  <br /></td></tr>
<tr class="separator:aa9c87c7314a2142b790272324e8793b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; InputType, RealVector &gt;</a></td></tr>
<tr class="memitem:a4c5a689901083e50007f53de72f694fc inherit pro_attribs_classshark_1_1_abstract_model" id="r_a4c5a689901083e50007f53de72f694fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a4c5a689901083e50007f53de72f694fc">m_features</a></td></tr>
<tr class="separator:a4c5a689901083e50007f53de72f694fc inherit pro_attribs_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt;<br />
class shark::KernelExpansion&lt; InputType &gt;</div><p>Linear model in a kernel feature space. </p>
<p>An affine linear kernel expansion is a model of the type </p><p class="formulaDsp">
\[ x : \mathbb{R}^d \to \mathbb{R}^d \enspace , \enspace x \mapsto \sum_{n=1}^{\ell} \alpha_n k(x_n, x) + b \enspace ,\]
</p>
<p> with parameters \( \alpha_n \in \mathbb{R}^{d} \) for all \( n \in \{1, \dots, \ell\} \) and \( b \in \mathbb{R}^d \).</p>
<p>One way in which the possibility for vector-valued input and output of dimension \( d \) may be interpreted is as allowing for a <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a> model for \( d \) different classes/outputs in multi-class problems. Then, the i-th column of the matrix <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265" title="kernel coefficients">m_alpha</a> is the <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a> for class/output i.</p>
<p>For a choice of kernel, see <a class="el" href="group__kernels.html">Kernels</a>.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">InputType</td><td>Type of basis elements supplied to the kernel </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00069">69</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a651c84963d3935af5324530e1722830b" name="a651c84963d3935af5324530e1722830b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a651c84963d3935af5324530e1722830b">&#9670;&#160;</a></span>BatchInputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">base_type::BatchInputType</a> <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::BatchInputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00074">74</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

</div>
</div>
<a id="a3d47bea3d1bb6b1c5044c9208f1dfd09" name="a3d47bea3d1bb6b1c5044c9208f1dfd09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d47bea3d1bb6b1c5044c9208f1dfd09">&#9670;&#160;</a></span>BatchOutputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">base_type::BatchOutputType</a> <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::BatchOutputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00075">75</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

</div>
</div>
<a id="ac5836d98d072c8ea288209ca3fa2f1c9" name="ac5836d98d072c8ea288209ca3fa2f1c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5836d98d072c8ea288209ca3fa2f1c9">&#9670;&#160;</a></span>KernelType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_kernel_function.html">AbstractKernelFunction</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt; <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::KernelType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00072">72</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="abd97e2ccc82763bbea0c884c5f5bce88" name="abd97e2ccc82763bbea0c884c5f5bce88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd97e2ccc82763bbea0c884c5f5bce88">&#9670;&#160;</a></span>KernelExpansion() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::KernelExpansion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00081">81</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

</div>
</div>
<a id="a0279e9ce4677fd9fc4da82711a85a9d1" name="a0279e9ce4677fd9fc4da82711a85a9d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0279e9ce4677fd9fc4da82711a85a9d1">&#9670;&#160;</a></span>KernelExpansion() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::KernelExpansion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a> *&#160;</td>
          <td class="paramname"><em>kernel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00083">83</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#aa7f672e5b1a367ce00545f550596bb0c">shark::KernelExpansion&lt; InputType &gt;::kernel()</a>, and <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

</div>
</div>
<a id="a76b322fd10b132fac5afc80405301e64" name="a76b322fd10b132fac5afc80405301e64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76b322fd10b132fac5afc80405301e64">&#9670;&#160;</a></span>KernelExpansion() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::KernelExpansion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a> *&#160;</td>
          <td class="paramname"><em>kernel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>basis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>outputs</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00087">87</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a48c4d31664d347f477cfb305a7b98d61">shark::KernelExpansion&lt; InputType &gt;::basis()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa7f672e5b1a367ce00545f550596bb0c">shark::KernelExpansion&lt; InputType &gt;::kernel()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a1c89cb50933ee211d67af90e6366e0ee">shark::KernelExpansion&lt; InputType &gt;::offset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a38c97766f52bf00e5b0120c46c15f37f">shark::KernelExpansion&lt; InputType &gt;::setStructure()</a>, and <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a3c65dfd17f38eaa461f6400d302fae48" name="a3c65dfd17f38eaa461f6400d302fae48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c65dfd17f38eaa461f6400d302fae48">&#9670;&#160;</a></span>alpha() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealMatrix &amp; <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::alpha </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00136">136</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">shark::KernelExpansion&lt; InputType &gt;::m_alpha</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_merge_budget_maintenance_strategy_3_01_real_vector_01_4.html#a26faf1b7720149479335a6cf8aeebb38">shark::MergeBudgetMaintenanceStrategy&lt; RealVector &gt;::addToModel()</a>, <a class="el" href="classshark_1_1_project_budget_maintenance_strategy_3_01_real_vector_01_4.html#a716c4803d4a64e0e30ef4d57032ed5d9">shark::ProjectBudgetMaintenanceStrategy&lt; RealVector &gt;::addToModel()</a>, <a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#a795f1710e6f333fcf7c7baad2e7bcc54">shark::RemoveBudgetMaintenanceStrategy&lt; InputType &gt;::addToModel()</a>, <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#a6673dbc1445ffc3cd0aea0d547487000">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;::computeNorm()</a>, <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#ad2194899bc2ad060c751e6f15dceb91a">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;::computeNorm()</a>, <a class="el" href="classshark_1_1_loo_error_c_svm.html#a7707d1eaf38cad24a585eb3f1bcc89d1">shark::LooErrorCSvm&lt; InputType, CacheType &gt;::eval()</a>, <a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html#ab6ab9d070c0988b041e96e66888a1841">shark::AbstractBudgetMaintenanceStrategy&lt; InputType &gt;::findSmallestVector()</a>, <a class="el" href="namespaceshark.html#a568356ff4d6d42f5c11402e9cac7d8aa">shark::kMeans()</a>, <a class="el" href="classshark_1_1_merge_budget_maintenance_strategy_3_01_real_vector_01_4.html#a50f9819caf20e6bedad5e6735e5db2e0">shark::MergeBudgetMaintenanceStrategy&lt; RealVector &gt;::reduceBudget()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::train()</a>, <a class="el" href="classshark_1_1_kernel_s_g_d_trainer.html#a31c7513f29d280ad3165d18100962391">shark::KernelSGDTrainer&lt; InputType, CacheType &gt;::train()</a>, <a class="el" href="classshark_1_1_perceptron.html#af69c978abe25d13d1cb79e866ef05260">shark::Perceptron&lt; InputType &gt;::train()</a>, <a class="el" href="classshark_1_1_regularization_network_trainer.html#a0c203b749f48be1b99e679ea666ff0c0">shark::RegularizationNetworkTrainer&lt; InputType &gt;::train()</a>, and <a class="el" href="classshark_1_1_one_class_svm_trainer.html#afee764d431c31a7cdf28306ab5c197f7">shark::OneClassSvmTrainer&lt; InputType, CacheType &gt;::trainSVM()</a>.</p>

</div>
</div>
<a id="a96b806bd045ac5cae655399d487c9666" name="a96b806bd045ac5cae655399d487c9666"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96b806bd045ac5cae655399d487c9666">&#9670;&#160;</a></span>alpha() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealMatrix const  &amp; <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::alpha </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00139">139</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">shark::KernelExpansion&lt; InputType &gt;::m_alpha</a>.</p>

</div>
</div>
<a id="a86269e46881882b7d56f0de924cb9dbe" name="a86269e46881882b7d56f0de924cb9dbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86269e46881882b7d56f0de924cb9dbe">&#9670;&#160;</a></span>alpha() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double &amp; <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::alpha </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>example</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>cls</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00142">142</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">shark::KernelExpansion&lt; InputType &gt;::m_alpha</a>.</p>

</div>
</div>
<a id="acfe64c8c40cdedf4e011fc0c76957365" name="acfe64c8c40cdedf4e011fc0c76957365"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfe64c8c40cdedf4e011fc0c76957365">&#9670;&#160;</a></span>alpha() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double const  &amp; <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::alpha </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>example</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>cls</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00145">145</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">shark::KernelExpansion&lt; InputType &gt;::m_alpha</a>.</p>

</div>
</div>
<a id="a97db6773c7ab9c69e1c88cb44a83634e" name="a97db6773c7ab9c69e1c88cb44a83634e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97db6773c7ab9c69e1c88cb44a83634e">&#9670;&#160;</a></span>basis() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; &amp; <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::basis </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00174">174</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a3c17d9a2d90c6dc919d09431fa4a9bc7">shark::KernelExpansion&lt; InputType &gt;::m_basis</a>.</p>

</div>
</div>
<a id="a48c4d31664d347f477cfb305a7b98d61" name="a48c4d31664d347f477cfb305a7b98d61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48c4d31664d347f477cfb305a7b98d61">&#9670;&#160;</a></span>basis() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; const  &amp; <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::basis </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00170">170</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a3c17d9a2d90c6dc919d09431fa4a9bc7">shark::KernelExpansion&lt; InputType &gt;::m_basis</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_merge_budget_maintenance_strategy_3_01_real_vector_01_4.html#a26faf1b7720149479335a6cf8aeebb38">shark::MergeBudgetMaintenanceStrategy&lt; RealVector &gt;::addToModel()</a>, <a class="el" href="classshark_1_1_project_budget_maintenance_strategy_3_01_real_vector_01_4.html#a716c4803d4a64e0e30ef4d57032ed5d9">shark::ProjectBudgetMaintenanceStrategy&lt; RealVector &gt;::addToModel()</a>, <a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#a795f1710e6f333fcf7c7baad2e7bcc54">shark::RemoveBudgetMaintenanceStrategy&lt; InputType &gt;::addToModel()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a76b322fd10b132fac5afc80405301e64">shark::KernelExpansion&lt; InputType &gt;::KernelExpansion()</a>, <a class="el" href="classshark_1_1_merge_budget_maintenance_strategy_3_01_real_vector_01_4.html#a50f9819caf20e6bedad5e6735e5db2e0">shark::MergeBudgetMaintenanceStrategy&lt; RealVector &gt;::reduceBudget()</a>, and <a class="el" href="classshark_1_1_kernel_expansion.html#a38c97766f52bf00e5b0120c46c15f37f">shark::KernelExpansion&lt; InputType &gt;::setStructure()</a>.</p>

</div>
</div>
<a id="ae4764c8830fd7f7b65e43e3e4210dba1" name="ae4764c8830fd7f7b65e43e3e4210dba1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4764c8830fd7f7b65e43e3e4210dba1">&#9670;&#160;</a></span>createState()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::shared_ptr&lt; <a class="el" href="structshark_1_1_state.html">State</a> &gt; <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::createState </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an internal state of the model. </p>
<p>The state is needed when the derivatives are to be calculated. Eval can store a state which is then reused to speed up the calculations of the derivatives. This also allows eval to be evaluated in parallel! </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a47d80a74ce80e5dd5e2851c52738b86b">shark::AbstractModel&lt; InputType, RealVector &gt;</a>.</p>

<p>Reimplemented in <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#abccbbad9f32c73e2419bc120c5ebb53c">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00231">231</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

</div>
</div>
<a id="a9a55c5a7f5e4b7f447f299c1b19050e2" name="a9a55c5a7f5e4b7f447f299c1b19050e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a55c5a7f5e4b7f447f299c1b19050e2">&#9670;&#160;</a></span>eval() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_kernel_expansion.html#a651c84963d3935af5324530e1722830b">BatchInputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>patterns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_kernel_expansion.html#a3d47bea3d1bb6b1c5044c9208f1dfd09">BatchOutputType</a> &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Standard interface for evaluating the response of the model to a batch of patterns. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">patterns</td><td>the inputs of the model </td></tr>
    <tr><td class="paramname">outputs</td><td>the predictions or response of the model to every pattern </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#ac7edef74da55322b6aef0ba65b08592d">shark::AbstractModel&lt; InputType, RealVector &gt;</a>.</p>

<p>Reimplemented in <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#ad54351526ec5ab5370b56e5a6b5250ed">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00236">236</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="group__shark__globals.html#ga73034ee5639176b0d45e1059859d0f0a">shark::Data&lt; Type &gt;::batch()</a>, <a class="el" href="namespaceshark.html#a30ec7154011b330cf99b48a14a973f64">shark::batchEnd()</a>, <a class="el" href="namespaceshark.html#af2ab10364feb8a631e0866dcf2f1a4ad">shark::batchSize()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#afb02d63dd18cb3ba534d1393c092752f">shark::KernelExpansion&lt; InputType &gt;::hasOffset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">shark::KernelExpansion&lt; InputType &gt;::m_alpha</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa9c87c7314a2142b790272324e8793b2">shark::KernelExpansion&lt; InputType &gt;::m_b</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a3c17d9a2d90c6dc919d09431fa4a9bc7">shark::KernelExpansion&lt; InputType &gt;::m_basis</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#af9b56d462d08ee86692de5f92e1a61ad">shark::KernelExpansion&lt; InputType &gt;::mep_kernel</a>, <a class="el" href="group__shark__globals.html#gabd82edf467b9b82f4b0a1e70fd695311">shark::Data&lt; Type &gt;::numberOfBatches()</a>, and <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_expansion.html#aa8c82d18e6ac27bae8155c751f552bda">shark::KernelExpansion&lt; InputType &gt;::eval()</a>, and <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::train()</a>.</p>

</div>
</div>
<a id="aa8c82d18e6ac27bae8155c751f552bda" name="aa8c82d18e6ac27bae8155c751f552bda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8c82d18e6ac27bae8155c751f552bda">&#9670;&#160;</a></span>eval() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_kernel_expansion.html#a651c84963d3935af5324530e1722830b">BatchInputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>patterns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_kernel_expansion.html#a3d47bea3d1bb6b1c5044c9208f1dfd09">BatchOutputType</a> &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structshark_1_1_state.html">State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Standard interface for evaluating the response of the model to a batch of patterns. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">patterns</td><td>the inputs of the model </td></tr>
    <tr><td class="paramname">outputs</td><td>the predictions or response of the model to every pattern </td></tr>
    <tr><td class="paramname">state</td><td>intermediate results stored by eval which can be reused for derivative computation. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#af6b99ab56d362609a144764922b4bd7b">shark::AbstractModel&lt; InputType, RealVector &gt;</a>.</p>

<p>Reimplemented in <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#a4e541807a0dcdb55a6efb71533a26091">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00261">261</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a9a55c5a7f5e4b7f447f299c1b19050e2">shark::KernelExpansion&lt; InputType &gt;::eval()</a>.</p>

</div>
</div>
<a id="afb02d63dd18cb3ba534d1393c092752f" name="afb02d63dd18cb3ba534d1393c092752f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb02d63dd18cb3ba534d1393c092752f">&#9670;&#160;</a></span>hasOffset()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::hasOffset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00133">133</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#aa9c87c7314a2142b790272324e8793b2">shark::KernelExpansion&lt; InputType &gt;::m_b</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_expansion.html#a9a55c5a7f5e4b7f447f299c1b19050e2">shark::KernelExpansion&lt; InputType &gt;::eval()</a>, <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#ad54351526ec5ab5370b56e5a6b5250ed">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;::eval()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#acef45b855141ee8cae89b468c72bcb85">shark::KernelExpansion&lt; InputType &gt;::numberOfParameters()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a1c89cb50933ee211d67af90e6366e0ee">shark::KernelExpansion&lt; InputType &gt;::offset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a2494359ab8d8be134b2b9adccc458a33">shark::KernelExpansion&lt; InputType &gt;::offset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a47023a21733e5230af9d3e5253422721">shark::KernelExpansion&lt; InputType &gt;::offset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a514768f8a9709bde70dc9b993892e2e1">shark::KernelExpansion&lt; InputType &gt;::offset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a6b91222bf74774ac83e049f95d03f6c7">shark::KernelExpansion&lt; InputType &gt;::parameterVector()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a0c1c29a9e9251d908d5d35c4f5998725">shark::KernelExpansion&lt; InputType &gt;::setParameterVector()</a>, and <a class="el" href="classshark_1_1_missing_feature_svm_trainer.html#a7499797486bf5f13ccf1a29572923cc4">shark::MissingFeatureSvmTrainer&lt; InputType, CacheType &gt;::train()</a>.</p>

</div>
</div>
<a id="aafda4afa8142b463e1b316d8bd4e342f" name="aafda4afa8142b463e1b316d8bd4e342f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafda4afa8142b463e1b316d8bd4e342f">&#9670;&#160;</a></span>inputShape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_shape.html">Shape</a> <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::inputShape </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the expected shape of the input. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#a56391736859ddea5d1011d2248431b47">shark::AbstractModel&lt; InputType, RealVector &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00111">111</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

</div>
</div>
<a id="a082027bb23accf964937433638e57281" name="a082027bb23accf964937433638e57281"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a082027bb23accf964937433638e57281">&#9670;&#160;</a></span>kernel() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a> * <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::kernel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00122">122</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#af9b56d462d08ee86692de5f92e1a61ad">shark::KernelExpansion&lt; InputType &gt;::mep_kernel</a>.</p>

</div>
</div>
<a id="aa7f672e5b1a367ce00545f550596bb0c" name="aa7f672e5b1a367ce00545f550596bb0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7f672e5b1a367ce00545f550596bb0c">&#9670;&#160;</a></span>kernel() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a> const  * <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::kernel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00119">119</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#af9b56d462d08ee86692de5f92e1a61ad">shark::KernelExpansion&lt; InputType &gt;::mep_kernel</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_project_budget_maintenance_strategy_3_01_real_vector_01_4.html#a716c4803d4a64e0e30ef4d57032ed5d9">shark::ProjectBudgetMaintenanceStrategy&lt; RealVector &gt;::addToModel()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a0279e9ce4677fd9fc4da82711a85a9d1">shark::KernelExpansion&lt; InputType &gt;::KernelExpansion()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a76b322fd10b132fac5afc80405301e64">shark::KernelExpansion&lt; InputType &gt;::KernelExpansion()</a>, <a class="el" href="classshark_1_1_merge_budget_maintenance_strategy_3_01_real_vector_01_4.html#a50f9819caf20e6bedad5e6735e5db2e0">shark::MergeBudgetMaintenanceStrategy&lt; RealVector &gt;::reduceBudget()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa3050c994b3b804dc52e3cac195d927c">shark::KernelExpansion&lt; InputType &gt;::setKernel()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a38c97766f52bf00e5b0120c46c15f37f">shark::KernelExpansion&lt; InputType &gt;::setStructure()</a>, and <a class="el" href="classshark_1_1_ranking_svm_trainer.html#a62dc84445c4882ea841c70916cdeb2ef">shark::RankingSvmTrainer&lt; InputType, CacheType &gt;::train()</a>.</p>

</div>
</div>
<a id="ac7cf9023daedf1951882dcf76956cbff" name="ac7cf9023daedf1951882dcf76956cbff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7cf9023daedf1951882dcf76956cbff">&#9670;&#160;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">shark::INameable</a>.</p>

<p>Reimplemented in <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#af68e2d95781b1753eca457476b44c11f">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00103">103</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

</div>
</div>
<a id="acef45b855141ee8cae89b468c72bcb85" name="acef45b855141ee8cae89b468c72bcb85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acef45b855141ee8cae89b468c72bcb85">&#9670;&#160;</a></span>numberOfParameters()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::numberOfParameters </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the number of parameters. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#aed1e8d1d4dbde387e2f6a25141ed3a20">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00220">220</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#afb02d63dd18cb3ba534d1393c092752f">shark::KernelExpansion&lt; InputType &gt;::hasOffset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">shark::KernelExpansion&lt; InputType &gt;::m_alpha</a>, and <a class="el" href="classshark_1_1_kernel_expansion.html#aa9c87c7314a2142b790272324e8793b2">shark::KernelExpansion&lt; InputType &gt;::m_b</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_expansion.html#a0c1c29a9e9251d908d5d35c4f5998725">shark::KernelExpansion&lt; InputType &gt;::setParameterVector()</a>.</p>

</div>
</div>
<a id="a1c89cb50933ee211d67af90e6366e0ee" name="a1c89cb50933ee211d67af90e6366e0ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c89cb50933ee211d67af90e6366e0ee">&#9670;&#160;</a></span>offset() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector &amp; <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::offset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00148">148</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#afb02d63dd18cb3ba534d1393c092752f">shark::KernelExpansion&lt; InputType &gt;::hasOffset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa9c87c7314a2142b790272324e8793b2">shark::KernelExpansion&lt; InputType &gt;::m_b</a>, and <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_loo_error_c_svm.html#a7707d1eaf38cad24a585eb3f1bcc89d1">shark::LooErrorCSvm&lt; InputType, CacheType &gt;::eval()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a76b322fd10b132fac5afc80405301e64">shark::KernelExpansion&lt; InputType &gt;::KernelExpansion()</a>, <a class="el" href="namespaceshark.html#a568356ff4d6d42f5c11402e9cac7d8aa">shark::kMeans()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a38c97766f52bf00e5b0120c46c15f37f">shark::KernelExpansion&lt; InputType &gt;::setStructure()</a>, <a class="el" href="classshark_1_1_kernel_s_g_d_trainer.html#a31c7513f29d280ad3165d18100962391">shark::KernelSGDTrainer&lt; InputType, CacheType &gt;::train()</a>, <a class="el" href="classshark_1_1_regularization_network_trainer.html#a0c203b749f48be1b99e679ea666ff0c0">shark::RegularizationNetworkTrainer&lt; InputType &gt;::train()</a>, and <a class="el" href="classshark_1_1_one_class_svm_trainer.html#afee764d431c31a7cdf28306ab5c197f7">shark::OneClassSvmTrainer&lt; InputType, CacheType &gt;::trainSVM()</a>.</p>

</div>
</div>
<a id="a2494359ab8d8be134b2b9adccc458a33" name="a2494359ab8d8be134b2b9adccc458a33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2494359ab8d8be134b2b9adccc458a33">&#9670;&#160;</a></span>offset() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector const  &amp; <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::offset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00152">152</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#afb02d63dd18cb3ba534d1393c092752f">shark::KernelExpansion&lt; InputType &gt;::hasOffset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa9c87c7314a2142b790272324e8793b2">shark::KernelExpansion&lt; InputType &gt;::m_b</a>, and <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

</div>
</div>
<a id="a47023a21733e5230af9d3e5253422721" name="a47023a21733e5230af9d3e5253422721"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47023a21733e5230af9d3e5253422721">&#9670;&#160;</a></span>offset() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double &amp; <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::offset </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>cls</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00156">156</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#afb02d63dd18cb3ba534d1393c092752f">shark::KernelExpansion&lt; InputType &gt;::hasOffset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa9c87c7314a2142b790272324e8793b2">shark::KernelExpansion&lt; InputType &gt;::m_b</a>, and <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

</div>
</div>
<a id="a514768f8a9709bde70dc9b993892e2e1" name="a514768f8a9709bde70dc9b993892e2e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a514768f8a9709bde70dc9b993892e2e1">&#9670;&#160;</a></span>offset() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double const  &amp; <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::offset </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>cls</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00160">160</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#afb02d63dd18cb3ba534d1393c092752f">shark::KernelExpansion&lt; InputType &gt;::hasOffset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa9c87c7314a2142b790272324e8793b2">shark::KernelExpansion&lt; InputType &gt;::m_b</a>, and <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

</div>
</div>
<a id="a251b1a2dec182d8433b8010fc2df0787" name="a251b1a2dec182d8433b8010fc2df0787"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a251b1a2dec182d8433b8010fc2df0787">&#9670;&#160;</a></span>outputShape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_shape.html">Shape</a> <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::outputShape </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>dimensionality of the output RealVector </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#a54b8655a750489902560a5eb32ba5b4b">shark::AbstractModel&lt; InputType, RealVector &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00107">107</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">shark::KernelExpansion&lt; InputType &gt;::m_alpha</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#ad54351526ec5ab5370b56e5a6b5250ed">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;::eval()</a>.</p>

</div>
</div>
<a id="a6b91222bf74774ac83e049f95d03f6c7" name="a6b91222bf74774ac83e049f95d03f6c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b91222bf74774ac83e049f95d03f6c7">&#9670;&#160;</a></span>parameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::parameterVector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the parameter vector. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#afaa2ba692ab64a0edbff60d7ee6794db">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00203">203</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#afb02d63dd18cb3ba534d1393c092752f">shark::KernelExpansion&lt; InputType &gt;::hasOffset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">shark::KernelExpansion&lt; InputType &gt;::m_alpha</a>, and <a class="el" href="classshark_1_1_kernel_expansion.html#aa9c87c7314a2142b790272324e8793b2">shark::KernelExpansion&lt; InputType &gt;::m_b</a>.</p>

</div>
</div>
<a id="a3b4d90a82af13e81f0ddb9bbc133a2a8" name="a3b4d90a82af13e81f0ddb9bbc133a2a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b4d90a82af13e81f0ddb9bbc133a2a8">&#9670;&#160;</a></span>read()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>archive</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, reads a model from an archive. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a11203dd6f50218e4c341a5d24ff5d543">shark::AbstractModel&lt; InputType, RealVector &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00270">270</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">shark::KernelExpansion&lt; InputType &gt;::m_alpha</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa9c87c7314a2142b790272324e8793b2">shark::KernelExpansion&lt; InputType &gt;::m_b</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a3c17d9a2d90c6dc919d09431fa4a9bc7">shark::KernelExpansion&lt; InputType &gt;::m_basis</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#af9b56d462d08ee86692de5f92e1a61ad">shark::KernelExpansion&lt; InputType &gt;::mep_kernel</a>, and <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

</div>
</div>
<a id="aa3050c994b3b804dc52e3cac195d927c" name="aa3050c994b3b804dc52e3cac195d927c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3050c994b3b804dc52e3cac195d927c">&#9670;&#160;</a></span>setKernel()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::setKernel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a> *&#160;</td>
          <td class="paramname"><em>kernel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00125">125</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#aa7f672e5b1a367ce00545f550596bb0c">shark::KernelExpansion&lt; InputType &gt;::kernel()</a>, and <a class="el" href="classshark_1_1_kernel_expansion.html#af9b56d462d08ee86692de5f92e1a61ad">shark::KernelExpansion&lt; InputType &gt;::mep_kernel</a>.</p>

</div>
</div>
<a id="a0c1c29a9e9251d908d5d35c4f5998725" name="a0c1c29a9e9251d908d5d35c4f5998725"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c1c29a9e9251d908d5d35c4f5998725">&#9670;&#160;</a></span>setParameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::setParameterVector </td>
          <td>(</td>
          <td class="paramtype">RealVector const &amp;&#160;</td>
          <td class="paramname"><em>newParameters</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the parameter vector. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#ad5e35d1a10ff36fa72ea787baa40e9ad">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00212">212</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#afb02d63dd18cb3ba534d1393c092752f">shark::KernelExpansion&lt; InputType &gt;::hasOffset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">shark::KernelExpansion&lt; InputType &gt;::m_alpha</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa9c87c7314a2142b790272324e8793b2">shark::KernelExpansion&lt; InputType &gt;::m_b</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#acef45b855141ee8cae89b468c72bcb85">shark::KernelExpansion&lt; InputType &gt;::numberOfParameters()</a>, and <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

</div>
</div>
<a id="a38c97766f52bf00e5b0120c46c15f37f" name="a38c97766f52bf00e5b0120c46c15f37f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38c97766f52bf00e5b0120c46c15f37f">&#9670;&#160;</a></span>setStructure()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::setStructure </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a> *&#160;</td>
          <td class="paramname"><em>kernel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>basis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>outputs</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00092">92</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a48c4d31664d347f477cfb305a7b98d61">shark::KernelExpansion&lt; InputType &gt;::basis()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa7f672e5b1a367ce00545f550596bb0c">shark::KernelExpansion&lt; InputType &gt;::kernel()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">shark::KernelExpansion&lt; InputType &gt;::m_alpha</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa9c87c7314a2142b790272324e8793b2">shark::KernelExpansion&lt; InputType &gt;::m_b</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a3c17d9a2d90c6dc919d09431fa4a9bc7">shark::KernelExpansion&lt; InputType &gt;::m_basis</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#af9b56d462d08ee86692de5f92e1a61ad">shark::KernelExpansion&lt; InputType &gt;::mep_kernel</a>, <a class="el" href="group__shark__globals.html#ga814e8b0028cc90dd2af69805e8f8a04d">shark::Data&lt; Type &gt;::numberOfElements()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a1c89cb50933ee211d67af90e6366e0ee">shark::KernelExpansion&lt; InputType &gt;::offset()</a>, and <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_expansion.html#a76b322fd10b132fac5afc80405301e64">shark::KernelExpansion&lt; InputType &gt;::KernelExpansion()</a>, <a class="el" href="namespaceshark.html#a568356ff4d6d42f5c11402e9cac7d8aa">shark::kMeans()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::train()</a>, <a class="el" href="classshark_1_1_kernel_s_g_d_trainer.html#a31c7513f29d280ad3165d18100962391">shark::KernelSGDTrainer&lt; InputType, CacheType &gt;::train()</a>, <a class="el" href="classshark_1_1_perceptron.html#af69c978abe25d13d1cb79e866ef05260">shark::Perceptron&lt; InputType &gt;::train()</a>, <a class="el" href="classshark_1_1_ranking_svm_trainer.html#a62dc84445c4882ea841c70916cdeb2ef">shark::RankingSvmTrainer&lt; InputType, CacheType &gt;::train()</a>, <a class="el" href="classshark_1_1_regularization_network_trainer.html#a0c203b749f48be1b99e679ea666ff0c0">shark::RegularizationNetworkTrainer&lt; InputType &gt;::train()</a>, <a class="el" href="classshark_1_1_epsilon_svm_trainer.html#a51d1821c3f6cedeff400e54f6e2b3b5d">shark::EpsilonSvmTrainer&lt; InputType, CacheType &gt;::train()</a>, <a class="el" href="classshark_1_1_one_class_svm_trainer.html#a89a952d06b2f313359fdde6ba59606e6">shark::OneClassSvmTrainer&lt; InputType, CacheType &gt;::train()</a>, and <a class="el" href="classshark_1_1_missing_feature_svm_trainer.html#a7499797486bf5f13ccf1a29572923cc4">shark::MissingFeatureSvmTrainer&lt; InputType, CacheType &gt;::train()</a>.</p>

</div>
</div>
<a id="a503aaebca6ce5e7d8a6f79e5e039bd9f" name="a503aaebca6ce5e7d8a6f79e5e039bd9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a503aaebca6ce5e7d8a6f79e5e039bd9f">&#9670;&#160;</a></span>sparsify()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::sparsify </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The sparsify method removes non-support-vectors from its set of basis vectors and the coefficient matrix. </p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00180">180</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">shark::KernelExpansion&lt; InputType &gt;::m_alpha</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a3c17d9a2d90c6dc919d09431fa4a9bc7">shark::KernelExpansion&lt; InputType &gt;::m_basis</a>, <a class="el" href="group__shark__globals.html#ga814e8b0028cc90dd2af69805e8f8a04d">shark::Data&lt; Type &gt;::numberOfElements()</a>, <a class="el" href="group__shark__globals.html#ga420a47af92d8da0f5e95a7d158521db9">shark::subset()</a>, <a class="el" href="namespaceshark.html#a3fffe112e8e09ea8f41e4fb7113e93ee">shark::swap()</a>, <a class="el" href="group__shark__globals.html#ga3c0660922e34389d005bb81e9bde0c18">shark::toDataset()</a>, and <a class="el" href="group__shark__globals.html#ga4adbf0bc9537c1829f1e1cd281de560b">shark::toView()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::train()</a>, <a class="el" href="classshark_1_1_epsilon_svm_trainer.html#a51d1821c3f6cedeff400e54f6e2b3b5d">shark::EpsilonSvmTrainer&lt; InputType, CacheType &gt;::train()</a>, and <a class="el" href="classshark_1_1_one_class_svm_trainer.html#a89a952d06b2f313359fdde6ba59606e6">shark::OneClassSvmTrainer&lt; InputType, CacheType &gt;::train()</a>.</p>

</div>
</div>
<a id="a962e6ea8753f0146c69ff41002c4e413" name="a962e6ea8753f0146c69ff41002c4e413"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a962e6ea8753f0146c69ff41002c4e413">&#9670;&#160;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>archive</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, writes a model to an archive. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a7d3f3d4d781954dc43d6cd445a5b56b4">shark::AbstractModel&lt; InputType, RealVector &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00280">280</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a923db4c417f36a23a7c7e5ba496a5265">shark::KernelExpansion&lt; InputType &gt;::m_alpha</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa9c87c7314a2142b790272324e8793b2">shark::KernelExpansion&lt; InputType &gt;::m_b</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a3c17d9a2d90c6dc919d09431fa4a9bc7">shark::KernelExpansion&lt; InputType &gt;::m_basis</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#af9b56d462d08ee86692de5f92e1a61ad">shark::KernelExpansion&lt; InputType &gt;::mep_kernel</a>, and <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a923db4c417f36a23a7c7e5ba496a5265" name="a923db4c417f36a23a7c7e5ba496a5265"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a923db4c417f36a23a7c7e5ba496a5265">&#9670;&#160;</a></span>m_alpha</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealMatrix <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::m_alpha</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>kernel coefficients </p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00301">301</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_expansion.html#a3c65dfd17f38eaa461f6400d302fae48">shark::KernelExpansion&lt; InputType &gt;::alpha()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a96b806bd045ac5cae655399d487c9666">shark::KernelExpansion&lt; InputType &gt;::alpha()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a86269e46881882b7d56f0de924cb9dbe">shark::KernelExpansion&lt; InputType &gt;::alpha()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#acfe64c8c40cdedf4e011fc0c76957365">shark::KernelExpansion&lt; InputType &gt;::alpha()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a9a55c5a7f5e4b7f447f299c1b19050e2">shark::KernelExpansion&lt; InputType &gt;::eval()</a>, <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#ad54351526ec5ab5370b56e5a6b5250ed">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;::eval()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#acef45b855141ee8cae89b468c72bcb85">shark::KernelExpansion&lt; InputType &gt;::numberOfParameters()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a251b1a2dec182d8433b8010fc2df0787">shark::KernelExpansion&lt; InputType &gt;::outputShape()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a6b91222bf74774ac83e049f95d03f6c7">shark::KernelExpansion&lt; InputType &gt;::parameterVector()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a3b4d90a82af13e81f0ddb9bbc133a2a8">shark::KernelExpansion&lt; InputType &gt;::read()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a0c1c29a9e9251d908d5d35c4f5998725">shark::KernelExpansion&lt; InputType &gt;::setParameterVector()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a38c97766f52bf00e5b0120c46c15f37f">shark::KernelExpansion&lt; InputType &gt;::setStructure()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a503aaebca6ce5e7d8a6f79e5e039bd9f">shark::KernelExpansion&lt; InputType &gt;::sparsify()</a>, and <a class="el" href="classshark_1_1_kernel_expansion.html#a962e6ea8753f0146c69ff41002c4e413">shark::KernelExpansion&lt; InputType &gt;::write()</a>.</p>

</div>
</div>
<a id="aa9c87c7314a2142b790272324e8793b2" name="aa9c87c7314a2142b790272324e8793b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9c87c7314a2142b790272324e8793b2">&#9670;&#160;</a></span>m_b</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::m_b</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>offset or bias term </p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00304">304</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_expansion.html#a9a55c5a7f5e4b7f447f299c1b19050e2">shark::KernelExpansion&lt; InputType &gt;::eval()</a>, <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#ad54351526ec5ab5370b56e5a6b5250ed">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;::eval()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#afb02d63dd18cb3ba534d1393c092752f">shark::KernelExpansion&lt; InputType &gt;::hasOffset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#acef45b855141ee8cae89b468c72bcb85">shark::KernelExpansion&lt; InputType &gt;::numberOfParameters()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a1c89cb50933ee211d67af90e6366e0ee">shark::KernelExpansion&lt; InputType &gt;::offset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a2494359ab8d8be134b2b9adccc458a33">shark::KernelExpansion&lt; InputType &gt;::offset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a47023a21733e5230af9d3e5253422721">shark::KernelExpansion&lt; InputType &gt;::offset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a514768f8a9709bde70dc9b993892e2e1">shark::KernelExpansion&lt; InputType &gt;::offset()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a6b91222bf74774ac83e049f95d03f6c7">shark::KernelExpansion&lt; InputType &gt;::parameterVector()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a3b4d90a82af13e81f0ddb9bbc133a2a8">shark::KernelExpansion&lt; InputType &gt;::read()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a0c1c29a9e9251d908d5d35c4f5998725">shark::KernelExpansion&lt; InputType &gt;::setParameterVector()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a38c97766f52bf00e5b0120c46c15f37f">shark::KernelExpansion&lt; InputType &gt;::setStructure()</a>, and <a class="el" href="classshark_1_1_kernel_expansion.html#a962e6ea8753f0146c69ff41002c4e413">shark::KernelExpansion&lt; InputType &gt;::write()</a>.</p>

</div>
</div>
<a id="a3c17d9a2d90c6dc919d09431fa4a9bc7" name="a3c17d9a2d90c6dc919d09431fa4a9bc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c17d9a2d90c6dc919d09431fa4a9bc7">&#9670;&#160;</a></span>m_basis</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_data.html">Data</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt; <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::m_basis</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>"support" basis vectors </p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00298">298</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_expansion.html#a97db6773c7ab9c69e1c88cb44a83634e">shark::KernelExpansion&lt; InputType &gt;::basis()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a48c4d31664d347f477cfb305a7b98d61">shark::KernelExpansion&lt; InputType &gt;::basis()</a>, <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#a6673dbc1445ffc3cd0aea0d547487000">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;::computeNorm()</a>, <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#ad2194899bc2ad060c751e6f15dceb91a">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;::computeNorm()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a9a55c5a7f5e4b7f447f299c1b19050e2">shark::KernelExpansion&lt; InputType &gt;::eval()</a>, <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#ad54351526ec5ab5370b56e5a6b5250ed">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;::eval()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a3b4d90a82af13e81f0ddb9bbc133a2a8">shark::KernelExpansion&lt; InputType &gt;::read()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a38c97766f52bf00e5b0120c46c15f37f">shark::KernelExpansion&lt; InputType &gt;::setStructure()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a503aaebca6ce5e7d8a6f79e5e039bd9f">shark::KernelExpansion&lt; InputType &gt;::sparsify()</a>, and <a class="el" href="classshark_1_1_kernel_expansion.html#a962e6ea8753f0146c69ff41002c4e413">shark::KernelExpansion&lt; InputType &gt;::write()</a>.</p>

</div>
</div>
<a id="af9b56d462d08ee86692de5f92e1a61ad" name="af9b56d462d08ee86692de5f92e1a61ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9b56d462d08ee86692de5f92e1a61ad">&#9670;&#160;</a></span>mep_kernel</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_kernel_expansion.html#ac5836d98d072c8ea288209ca3fa2f1c9">KernelType</a>* <a class="el" href="classshark_1_1_kernel_expansion.html">shark::KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::mep_kernel</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>kernel function used in the expansion </p>

<p class="definition">Definition at line <a class="el" href="_kernel_expansion_8h_source.html#l00295">295</a> of file <a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#a6673dbc1445ffc3cd0aea0d547487000">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;::computeNorm()</a>, <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#ad2194899bc2ad060c751e6f15dceb91a">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;::computeNorm()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a9a55c5a7f5e4b7f447f299c1b19050e2">shark::KernelExpansion&lt; InputType &gt;::eval()</a>, <a class="el" href="classshark_1_1_missing_features_kernel_expansion.html#ad54351526ec5ab5370b56e5a6b5250ed">shark::MissingFeaturesKernelExpansion&lt; InputType &gt;::eval()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a082027bb23accf964937433638e57281">shark::KernelExpansion&lt; InputType &gt;::kernel()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa7f672e5b1a367ce00545f550596bb0c">shark::KernelExpansion&lt; InputType &gt;::kernel()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a3b4d90a82af13e81f0ddb9bbc133a2a8">shark::KernelExpansion&lt; InputType &gt;::read()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#aa3050c994b3b804dc52e3cac195d927c">shark::KernelExpansion&lt; InputType &gt;::setKernel()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a38c97766f52bf00e5b0120c46c15f37f">shark::KernelExpansion&lt; InputType &gt;::setStructure()</a>, and <a class="el" href="classshark_1_1_kernel_expansion.html#a962e6ea8753f0146c69ff41002c4e413">shark::KernelExpansion&lt; InputType &gt;::write()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Models/Kernels/<a class="el" href="_kernel_expansion_8h_source.html">KernelExpansion.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
